package com.ruoyi.project.hissystem.service;

import com.ruoyi.project.hissystem.domain.HisDepartment;
import com.ruoyi.project.system.domain.SysPost;

import java.util.List;

public interface IHisDepartmentService {
    //动态分页查询科室信息
    List<HisDepartment> selDepartmentList(HisDepartment hisDepartment);

    /**
     * 新增保存科室信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int insertDepartment(HisDepartment hisDepartment);

    /**
     * 通过科室ID查询科室信息
     *
     * @param departId 科室ID
     * @return 角色对象信息
     */
    public HisDepartment selectDeapartById(Long departId);
    /**
     * 修改保存科室信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int updateDepartment(HisDepartment hisDepartment);

    /**
     * 批量删除岗位信息
     *
     * @param departIds 需要删除的岗位ID
     * @return 结果
     * @throws Exception 异常
     */
    public int deleteDepartmentByIds(Long[] departIds);
}
